Repository navigation
feat(oar): complete 16 OAR runtimes, CLI/Chat entrypoints, Workbench 0.142.0 alignment, and Windows Job containment - #10097
Conversation
… 0.142.0, and add Windows Job containment Signed-off-by: song <xinxinsong66@gmail.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 54e41d0c82
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
… and Dashboard OAR observe/brands/forms Signed-off-by: song <xinxinsong66@gmail.com>
Signed-off-by: Codex <codex@openai.com>
…at endpoints Signed-off-by: Codex <codex@openai.com>
Reject handled or malformed terminal payloads before publishing generic Chat answers or governed Turn results. Check the live OAR session inventory before reusing a cached generic Chat adapter, including released and exited status. Cover real removed-session behavior and require explicit ended/completed outcomes. Signed-off-by: Codex <codex@openai.com>
Signed-off-by: Codex <codex@openai.com> # Conflicts: # tests/control_plane_ts/oar_session_hub.test.ts
|
This pull request has merge conflicts with Choose the remote for the base repository, not an out-of-date fork. git fetch upstream
git rebase upstream/codex/oar-deep-fusion-phase3
# Resolve each conflict, git add the resolved files, then git rebase --continue.
git push --force-with-lease origin HEADFor a same-repository clone whose Keep the DCO |
Signed-off-by: Codex <codex@openai.com> # Conflicts: # tests/control_plane/test_oar_session_client.py
|
This pull request has merge conflicts with Choose the remote for the base repository, not an out-of-date fork. git fetch upstream
git rebase upstream/codex/oar-deep-fusion-phase3
# Resolve each conflict, git add the resolved files, then git rebase --continue.
git push --force-with-lease origin HEADFor a same-repository clone whose Keep the DCO |
…dependencies Signed-off-by: Codex <codex@openai.com>
Signed-off-by: Codex <codex@openai.com>
…rd configuration and status Keep SQLite session identity, legacy history and steering receipts intact. Report only the effective MCP write grant. Bind Dashboard reads to their selected conversation, expose native Grok creation settings and cover the new path in Chromium. Signed-off-by: Codex <codex@openai.com>
Route only root agent output into the conversation and treat native session-not-found as a terminal handle rejection. Carry the reviewed Goal worker and transport fixes into the runtime adapters. Signed-off-by: Codex <codex@openai.com>
…scovery Read archived events beyond the live ring and record session disposal before unsubscribing. Accept archives from the production Chat writer and preserve their native thread binding across same-key resume. Resolve the selected workspace for model discovery and exercise both Goal and workspace selection in Chromium. Integrate reviewed upstream runtime changes. Signed-off-by: Codex <codex@openai.com>
Scope the override to the Pi coding agent in the updated OAR dependency chain and lock minimatch 11.0.10. Carry the verified DSH streaming recovery fixture from Phase 3. Signed-off-by: Codex <codex@openai.com>
…stack Use minimatch 11.0.10 for the Dashboard Pi coding agent and retain the verified Workbench pin and DSH recovery tests from the base branch. Clean installs resolve the patched package without changing security-check configuration. Signed-off-by: Codex <codex@openai.com>
…runtimes Signed-off-by: song <xinxinsong66@gmail.com>
|
This pull request has merge conflicts with Choose the remote for the base repository, not an out-of-date fork. git fetch upstream
git rebase upstream/codex/oar-deep-fusion-phase3
# Resolve each conflict, git add the resolved files, then git rebase --continue.
git push --force-with-lease origin HEADFor a same-repository clone whose Keep the DCO |
…pdate supported host parity test Signed-off-by: song <xinxinsong66@gmail.com>
…n-phase4-storage-ui Signed-off-by: song <xinxinsong66@gmail.com>
…0 in Dashboard, and isolate PATH in runtime-readiness-live Signed-off-by: song <xinxinsong66@gmail.com>
…n-phase4-runtimes Signed-off-by: song <xinxinsong66@gmail.com>
…eep-fusion-phase4-storage-ui Signed-off-by: song <xinxinsong66@gmail.com>
|
Updated Fixes Included
Verification & Gate Status
cc @loopx-agent @huangruiteng — ready for review in stack order (#9854 → #9861 → #9866 → #10097). |
…n-phase4-runtimes Signed-off-by: song <xinxinsong66@gmail.com>
…eep-fusion-phase4-storage-ui Signed-off-by: song <xinxinsong66@gmail.com>
…ase4-storage-ui feat(oar): sessions.sqlite WAL storage, in-process MCP write tools, and Dashboard OAR UI
Stacked on #9866 (
codex/oar-deep-fusion-phase3).Summary
Completes the OAR runtime surface, exposes all built-in OAR runtimes to LoopX Turn CLI and Chat discovery, aligns
apps/workbenchto@botiverse/oar@0.142.0, and adds cross-platform Windows Job Object / POSIX process-group containment forOarSessionHost:loopx/control_plane/oar/runtime_loader.ts):cursor(subprocess mode via optional@cursor/sdkorLOOPX_OAR_CURSOR_SDK_MODULE) andpi-durable(host-owned Harness registration viaregisterPiDurableRuntime/clearPiDurableRuntime) toOAR_BUILTIN_RUNTIME_IDS,ALIAS_MAP, andlistOarRuntimeCatalog()(now also exposingdefault_binary).unsupportedinstallation probes whenever optional peer SDKs (@cursor/sdk,@earendil-works/pi-durable/@earendil-works/chord) are absent instead of crashing on dynamic import.oar_turn_host.py,turn_registration.py,turn_run_once.py,oar_chat_adapter.py,endpoint_catalog.py,session_open.py):--host oar(with--oar-runtime,--oar-model,--oar-reasoning-effort,--oar-executable,--oar-sandbox) toloopx turn plan/managed-step/run-once, backed byrun_oar_turn_host()withFirstPartyHostGoalAdmissionlaunch guard, periodicrequire_running()live abort watcher, per-runtime session resume, and structuredloopx_turn_host_result_v0normalization (preserving all existingclaude-code/codex-cli/dsh/generic-cliCLI contracts).oar_chat_endpoints()(adapter_kind="oar_runtime",source="builtin_oar") surfacing installed OAR CLIs (opencode,pi,kimi,qwen,devin,factory,grok,codebuddy,qoder,agy-cli) alongside the 7 existing built-in Chat endpoints, backed by read-onlyOarChatAdapter(streaminganswer.delta/answer.final, real handshake model/effort confirmation, fail-closed rejection on failed/interrupted outcomes).@botiverse/oar@0.142.0alignment (apps/workbench/packages/daemon/package.json,src/adapters/oar.ts,apps/workbench/package-lock.json):@botiverse/oar@0.128.1to0.142.0(strictly resolved fromhttps://registry.npmjs.org/), raises its Node check to24.21.0, enforceswithPlacement('isolated')on process runtimes, and switches capability probing toinstalledSessionCapabilities().loopx/hosts/oar_client.py,session_host_server.ts,session_hub.ts):_OarDaemonContainmentonOarSessionClient: attaches spawnedOarSessionHostdaemons toWindowsHostJob(JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE,CREATE_NO_WINDOW | CREATE_NEW_PROCESS_GROUP) on Windows and falls back to process-groupSIGTERMcleanup on POSIX, while surfacingprocess_containmentincollect_oar_runtime_readiness()andoar.health.SIGTERM/SIGINTgracefulhub.disposeAll()cleanup insession_host_server.ts.Verification
npm run typecheck:control-plane(0 errors)node --experimental-sqlite --experimental-strip-types --test tests/control_plane_ts/oar_session_hub.test.ts tests/control_plane_ts/oar_goal_worker.test.ts(18/18 passed)apps/workbench:npm run typecheck -w @loopx/loochat(0 errors) andtest/oar.test.ts(21/21 passed)pytestontest_oar_phase4_runtimes.py,test_chat_endpoint_readiness.py,test_oar_session_client.py,test_oar_phase3_integration.py(41/41 passed)ruff(E4,E7,E9,F,external-request-lint.toml,external-transport-lint.toml),lint-external-transports.mjs,check_rfc_bilingual.py, andloopx checkpublic boundary scan across all 15 files includingapps/workbench/package-lock.json(clean)